require 'utils'

include SulpetUtils

module PostsHelper

  def show_post post
    result = ''
    result += content_tag( 'h3' , post.title , :class => :button)
    result += formated_timestamp post.created_at
    result += content_tag( 'p', post.body.paragraphize )
  end

end
